var schoollist = [
    {
        // name: "基本设置",
        name: "校区管理",
        fold: false,
        all: false,
        list: [
            { name: "首页", key: "summary", top: 127 },
            { name: "员工账号", key: "teacherAccount", top: 19  },
            
        ],
    },
    {
        name: "教务管理",
        fold: false,
        all: false,
        list: [
            // 83
            { name: "学员管理", key: "studentMessage", top: 3 },
            {name:'学情管理',key:'xueQingManagement',top:3},
            { name: "分配班级", key: "grade", top: 15 },
            {name:'续费管理',key:'renewalWarning1',top:95},
            {name:'课程预警',key:'renewalWarning',top:127},
            { name: "排课管理", key: "courseScheduling", top: 15 },
            { name: "班级管理", key: "classes", top: 15 },
            { name: "教室管理", key: "classroom", top: 15 },
        ],
    },
    {
        name:"餐食管理",
        fold:false,
        all:false,
        list:[
            { name: "报餐管理", key: "mealSubscription", top: 83 },
            
            { name: "餐费管理", key: "mealFee", top: 95 },
            
            { name: "食谱查看", key: "cookbook", top: 127 },
        ]
    },
    {
        name:"招生管理",
        fold:false,
        all:false,
        list:[
            // new
            {name:"招生信息",key:"admissionInformation",top: 3}
        ]
    },
    { //全new
        name: "管理分析",
        fold: false,
        all: false,
        list: [
            // { name: "学员分析", key: "studentData", top: 127 },
            { name: "课程分析", key: "courseData", top: 127 },
            // new
            { name: "续费分析", key: "renewData", top: 127 },
            {name:"报餐分析", key:"mealanalysis",top:127},
            { name: "校区分析", key: "schoolData", top: 127 }
            
        ],
    },
    {
        
        name:'课销管理', 
        fold: false,
        all:false,
        list:[
            { name: "课销汇总", key: "classMarketing", top: 123 },//new
            { name: "课销记录", key: "salesRecord", top: 107 },//new
            { name: "人脸上传", key: "faceUpload", top: 35 },
            { name: "补签功能", key: "signature", top: 103 },
            { name: "补签记录", key: "punch", top: 107 },
        ]
    },
    {
        name: "审核管理",
        fold: false,
        all: false,
        list: [
            { name: "请假申请", key: "qingJiaShenPi", top: 10 },
            { name: "停课申请", key: "tingKeShenPi", top: 10 },
            { name: "订单完善", key: "shouDongDuiZhang", top: 75 },
            { name: "退款申请", key: "tuiKuanShenPi", top: 10 },
        ],
    },
    {
        name:"人力资源",
        fold:false,
        all:false,
        list:[
            { name: "绩效统计", key: "jiXiaoTongJi", top: 11 },
        ]
    },


   
    {
        name: "财务管理",
        fold: false,
        all: false,
        list: [
            { name: "订单管理", key: "order", top: 107},
            // { name: "退款管理", key: "refundManagement", top: 91 },
            // { name: "退款记录", key: "refundRecord", top: 91 },
        ],
    },
    {
        name: "公众号",
        fold: false,
        all: false,
        list: [
            { name: "校区简介", key: "intro", top: 127 },
            { name: "校区新闻", key: "news", top: 15 },
            { name: "校区通知", key: "notice", top: 15 },
        ],
    }
];

//top表示控制复选框的的显示

schoollist.forEach(function (it) {
    it.list.forEach(function (it1) {
        it1.allows = [false, false, false, false, false, false, false, false];
    });
});

function and(a, b) {
    var c = [0, 0, 0, 0, 0, 0, 0, 0];
    for (var i = 0; i < 8; i++) c[i] = a[i] && b[i];
    console.log(c,'ccccccccc');
    return c;
}
